type #Request {
    content: String
};

type #Response {
    content: String
};

type #Service interface {
    echo: rpc::Method[#Request,#Response]
};
type #Service@Argument {
     verbose: Bool
};

export const DefaultServerBackend: rpc::ServerBackend
    { rpc::ServerCleartext { network: 'tcp', addr: '127.0.0.1:8001' } };

export const DefaultClientBackend: rpc::ClientBackend
    { rpc::ClientCleartext { network: 'tcp', addr: '127.0.0.1:8001' } };


